package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动信息对象 sys_activity
 * 
 * @author ruoyi
 * @date 2021-11-08
 */
public class SysActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String aname;

    /** 活动内容 */
    @Excel(name = "活动内容")
    private String acontent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAname(String aname) 
    {
        this.aname = aname;
    }

    public String getAname() 
    {
        return aname;
    }
    public void setAcontent(String acontent) 
    {
        this.acontent = acontent;
    }

    public String getAcontent() 
    {
        return acontent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("aname", getAname())
            .append("acontent", getAcontent())
            .toString();
    }
}
